package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljh
 * @since 2020-08-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class CmfzBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "banner_id", type = IdType.AUTO)
    private Integer bannerId;

    private String bannerImageUrl;

    /**
     * 原有名称
     */
    private String bannerOldName;

    /**
     * 状态 0代表未删除  1代表删除
     */
    @TableLogic(
            value = "0"
            ,delval = "1"
    )
    private Integer bannerState;

    /**
     * 上传时间
     */
    private Date bannerDate;

    private String bannerDescription;


}
